package com.fzf.blog.modules.admin.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@Table(name = "t_blogtype")
@Data
public class BlogType implements Serializable{
    
	private static final long serialVersionUID = 1L;

	/**  */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    /** 类别名称 */
    private String typename;

    /** 该类别下的数量 */
    private Integer num;
    
    @DateTimeFormat(pattern="yyyy-MM-dd hh:mm:ss")
    private Date addtime;
    

	
    
    
}